package com.molichuxing.services.infrastructure.bean;

import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class DeviceUnionpayParamBean extends RootBean {
    /**
     * 主键id id
     */
    private Integer id;

    /**
     * cup序列号 cpu
     */
    private String cpu;

    /**
     * 银行卡商户 bankcard_merchant_sn
     */
    private String bankcardMerchantSn;

    /**
     * 银行卡终端号 bankcard_teminal_sn
     */
    private String bankcardTeminalSn;

    /**
     * 银行卡sn bankcard_sn
     */
    private String bankcardSn;

    /**
     * pos通商户号 pos_merchant_sn
     */
    private String posMerchantSn;

    /**
     * POS通终端号 pos_teminal_sn
     */
    private String posTeminalSn;

    /**
     * Pos机器Sn号 pos_sn
     */
    private String posSn;

    /**
     * 备注 remark
     */
    private String remark;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * dealer_device_unionpay_param
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     * @date 2019-10-30 10:45:38
     * @return id 主键id
     */
    @Override
	public Integer getId() {
        return id;
    }

    /**
     * 主键id
     * @date 2019-10-30 10:45:38
     * @param id 主键id
     */
    @Override
	public void setId(Integer id) {
        this.id = id;
    }

    /**
     * cup序列号
     * @date 2019-10-30 10:45:38
     * @return cpu cup序列号
     */
    public String getCpu() {
        return cpu;
    }

    /**
     * cup序列号
     * @date 2019-10-30 10:45:38
     * @param cpu cup序列号
     */
    public void setCpu(String cpu) {
        this.cpu = cpu == null ? null : cpu.trim();
    }

    /**
     * 银行卡商户
     * @date 2019-10-30 10:45:38
     * @return bankcard_merchant_sn 银行卡商户
     */
    public String getBankcardMerchantSn() {
        return bankcardMerchantSn;
    }

    /**
     * 银行卡商户
     * @date 2019-10-30 10:45:38
     * @param bankcardMerchantSn 银行卡商户
     */
    public void setBankcardMerchantSn(String bankcardMerchantSn) {
        this.bankcardMerchantSn = bankcardMerchantSn == null ? null : bankcardMerchantSn.trim();
    }

    /**
     * 银行卡终端号
     * @date 2019-10-30 10:45:38
     * @return bankcard_teminal_sn 银行卡终端号
     */
    public String getBankcardTeminalSn() {
        return bankcardTeminalSn;
    }

    /**
     * 银行卡终端号
     * @date 2019-10-30 10:45:38
     * @param bankcardTeminalSn 银行卡终端号
     */
    public void setBankcardTeminalSn(String bankcardTeminalSn) {
        this.bankcardTeminalSn = bankcardTeminalSn == null ? null : bankcardTeminalSn.trim();
    }

    /**
     * 银行卡sn
     * @date 2019-10-30 10:45:38
     * @return bankcard_sn 银行卡sn
     */
    public String getBankcardSn() {
        return bankcardSn;
    }

    /**
     * 银行卡sn
     * @date 2019-10-30 10:45:38
     * @param bankcardSn 银行卡sn
     */
    public void setBankcardSn(String bankcardSn) {
        this.bankcardSn = bankcardSn == null ? null : bankcardSn.trim();
    }

    /**
     * pos通商户号
     * @date 2019-10-30 10:45:38
     * @return pos_merchant_sn pos通商户号
     */
    public String getPosMerchantSn() {
        return posMerchantSn;
    }

    /**
     * pos通商户号
     * @date 2019-10-30 10:45:38
     * @param posMerchantSn pos通商户号
     */
    public void setPosMerchantSn(String posMerchantSn) {
        this.posMerchantSn = posMerchantSn == null ? null : posMerchantSn.trim();
    }

    /**
     * POS通终端号
     * @date 2019-10-30 10:45:38
     * @return pos_teminal_sn POS通终端号
     */
    public String getPosTeminalSn() {
        return posTeminalSn;
    }

    /**
     * POS通终端号
     * @date 2019-10-30 10:45:38
     * @param posTeminalSn POS通终端号
     */
    public void setPosTeminalSn(String posTeminalSn) {
        this.posTeminalSn = posTeminalSn == null ? null : posTeminalSn.trim();
    }

    /**
     * Pos机器Sn号
     * @date 2019-10-30 10:45:38
     * @return pos_sn Pos机器Sn号
     */
    public String getPosSn() {
        return posSn;
    }

    /**
     * Pos机器Sn号
     * @date 2019-10-30 10:45:38
     * @param posSn Pos机器Sn号
     */
    public void setPosSn(String posSn) {
        this.posSn = posSn == null ? null : posSn.trim();
    }

    /**
     * 备注
     * @date 2019-10-30 10:45:38
     * @return remark 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     * @date 2019-10-30 10:45:38
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 创建时间
     * @date 2019-10-30 10:45:38
     * @return gmt_create 创建时间
     */
    @Override
	public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2019-10-30 10:45:38
     * @param gmtCreate 创建时间
     */
    @Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     * @date 2019-10-30 10:45:38
     * @return gmt_modified 修改时间
     */
    @Override
	public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     * @date 2019-10-30 10:45:38
     * @param gmtModified 修改时间
     */
    @Override
	public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DeviceUnionpayParamBean other = (DeviceUnionpayParamBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCpu() == null ? other.getCpu() == null : this.getCpu().equals(other.getCpu()))
            && (this.getBankcardMerchantSn() == null ? other.getBankcardMerchantSn() == null : this.getBankcardMerchantSn().equals(other.getBankcardMerchantSn()))
            && (this.getBankcardTeminalSn() == null ? other.getBankcardTeminalSn() == null : this.getBankcardTeminalSn().equals(other.getBankcardTeminalSn()))
            && (this.getBankcardSn() == null ? other.getBankcardSn() == null : this.getBankcardSn().equals(other.getBankcardSn()))
            && (this.getPosMerchantSn() == null ? other.getPosMerchantSn() == null : this.getPosMerchantSn().equals(other.getPosMerchantSn()))
            && (this.getPosTeminalSn() == null ? other.getPosTeminalSn() == null : this.getPosTeminalSn().equals(other.getPosTeminalSn()))
            && (this.getPosSn() == null ? other.getPosSn() == null : this.getPosSn().equals(other.getPosSn()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCpu() == null) ? 0 : getCpu().hashCode());
        result = prime * result + ((getBankcardMerchantSn() == null) ? 0 : getBankcardMerchantSn().hashCode());
        result = prime * result + ((getBankcardTeminalSn() == null) ? 0 : getBankcardTeminalSn().hashCode());
        result = prime * result + ((getBankcardSn() == null) ? 0 : getBankcardSn().hashCode());
        result = prime * result + ((getPosMerchantSn() == null) ? 0 : getPosMerchantSn().hashCode());
        result = prime * result + ((getPosTeminalSn() == null) ? 0 : getPosTeminalSn().hashCode());
        result = prime * result + ((getPosSn() == null) ? 0 : getPosSn().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cpu=").append(cpu);
        sb.append(", bankcardMerchantSn=").append(bankcardMerchantSn);
        sb.append(", bankcardTeminalSn=").append(bankcardTeminalSn);
        sb.append(", bankcardSn=").append(bankcardSn);
        sb.append(", posMerchantSn=").append(posMerchantSn);
        sb.append(", posTeminalSn=").append(posTeminalSn);
        sb.append(", posSn=").append(posSn);
        sb.append(", remark=").append(remark);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}